#pragma once
#include "afxwin.h"
#include "ACEdit.h"


// CDlgAddRequest dialog

class CDlgAddRequest : public CDialog
{
	DECLARE_DYNAMIC(CDlgAddRequest)

public:
	CDlgAddRequest(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgAddRequest();

	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual void OnCancel();

// Dialog Data
	enum { IDD = IDD_DIALOG_ADD_REQUEST };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	afx_msg void OnBnClickedButtonSendFile();
	afx_msg void OnCbnSelchangeComboPriority();
	afx_msg void OnCbnSelchangeComboMethod();

	DECLARE_MESSAGE_MAP()

public:
	CStringArray *m_pszaStatus;
	CStringArray *m_pszaPriority;
	CStringArray *m_pszaMethod;
	CStringArray *m_pszaLibrary;
	CStringArray *m_pszaCollection;
	CStringArray *m_pszaReferrals;
	CStringArray *m_pszaCopyright;
	CStringArray *m_pszaILL;

	LONG m_nUserID;
	LONG m_nExternalID;
	LONG m_nStaffID;
	LONG m_nCurrentLibrary;
	BOOL m_bShowThumbnail;
	BOOL m_bEnableThumbnail;

	CString m_szUserEmail;
	CString m_szMessage;
	CString m_szFrom;
	CString m_szName;
	CString m_szSubject;

	double m_dServiceFee;
	double m_dCopyrightFee;
	
	CACEdit m_ctrlLibrary;
	CACEdit m_ctrlPriority;
	CACEdit m_ctrlMethod;
	CACEdit m_ctrlCollection;
	CACEdit m_ctrlReferrals;
	CACEdit m_ctrlCopyright;
	CACEdit m_ctrlILL;
	
	BOOL m_bAtLibrary;
	CString m_szInstructions;
	CString m_szRequest;
	CString m_szInformation;
	CString m_szProject;	
	BOOL m_bEmailUser;
};
